//
//  DownloadManager.h
//  仿SDWebImage
//
//  Created by WangBiao on 16/9/18.
//  Copyright © 2016年 lsrain. All rights reserved.
//

#import <UIKit/UIKit.h>

///管理者单例
@interface DownloadManager : NSObject

+ (instancetype)sharedManager;

- (void)downloadImgWithURLString:(NSString *)URLString andFinishBlock:(void(^)(UIImage *img))finish;

//需求：取消上次操作的主方法
- (void)cancelOperationOfLastURL:(NSString *)lastURL;
@end
